| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Member Functions | List of all members
nkGraphics::GltfEncoder Class Referencefinal

Allows to work with the GLTF 2 format. More...

## Static Public Member Functions
static bool | canDecode (nkMemory::BufferView<> sources)
static DecodedData | decode (nkMemory::BufferView<> sources, const GltfDecodeOptions &options=GltfDecodeOptions())

## Detailed Description

Allows to work with the GLTF 2 format.

## Member Function Documentation

## ◆ canDecode()

static bool nkGraphics::GltfEncoder::canDecode | ( | nkMemory::BufferView<> | sources | ) |
| static

Checks whether data can be decoded or not.

Parameters

  sources | Data to check.

Returns
  Whether the data can be decoded using this encoder (true) or not (false).

## ◆ decode()

static DecodedData nkGraphics::GltfEncoder::decode | ( | nkMemory::BufferView<> | sources,
|  | const GltfDecodeOptions & | options = `GltfDecodeOptions()`
| ) |  |
| static

Decodes provided data.

Parameters

  sources | Data to decode.
  options | The options allowing to customize how the decoding should happen.

Returns
  Decoded data.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/Encoders/Gltf/GltfEncoder.h